package mvc
{
	/**
	 * MVC所用到的所有通知常量
	 * @author XiLing
	 */
	public class Notifications
	{
		public static const APP_STARTUP:String = "APP_STARTUP";
		public static const APP_STARTUP_OVER:String = "APP_STARTUP_OVER";
		public static const APP_IMPORT_CLASS:String = "APP_IMPORT_CLASS";
		public static const APP_REGISTER_CLASS:String = "APP_REGISTER_CLASS";
		
		
		//proxy
		public static const PROXY_APP_LABELS_BAR_PARSED:String = "PROXY_APP_LABELS_BAR_PARSED";
		public static const PROXY_APP_CONTROLS_BAR_PARSED:String = "PROXY_APP_CONTROLS_BAR_PARSED";
		
		//系统commands
		
		//UI层commands
		public static const UI_TO_LOGIN:String = "UI_TO_LOGIN";		//登录
		
		//Mediator的命令
		public static const MEDIATOR_APP_TO_SHOW:String = "MEDIATOR_APP_TO_SHOW";
		public static const MEDIATOR_APP_RESIZE:String = "MEDIATOR_APP_RESIZE";		//舞台大小改变
		public static const MEDIATOR_TO_CHANGE_BACKGROUND:String = "MEDIATOR_TO_CHANGE_BACKGROUND";			//更换背景
		public static const MEDIATOR_GOTO_CLIENT_URL:String = "MEDIATOR_GOTO_CLIENT_URL";		//改变SwfAddress地址
		public static const MEDIATOR_UPDATE_OPERATION_LIST:String = "MEDIATOR_UPDATE_OPERATION_LIST";		//刷新权限列表数据
		public static const MEDIATOR_UPDATE_MAIN_DATA:String = "MEDIATOR_UPDATE_MAIN_DATA";		//刷新当前右边面板内容
		public static const MEDIATOR_UPDATE_AUTH_ROLES:String = "MEDIATOR_UPDATE_AUTH_ROLES";		//刷新角色列表
		
		//页面跳转
		public static const MEDIATOR_SWITCH_SCENE:String = "MEDIATOR_SWITCH_SCENE";		//转换界面前
		public static const MEDIATOR_SWITCH_TO_USER_INFO:String = "MEDIATOR_SWITCH_TO_USER_INFO";		//转换界面到登陆后界面
		public static const MEDIATOR_SWITCH_TO_USER_LOGIN:String = "MEDIATOR_SWITCH_TO_USER_LOGIN";		//显示登陆框
		
		
		public static const MEDIATOR_LOGIN_SUCCESS:String = "MEDIATOR_LOGIN_SUCCESS";		//登录成功
		public static const MEDIATOR_LOGIN_ERROR:String = "MEDIATOR_LOGIN_ERROR";		//登录错误
		
		public static const MEDIATOR_TO_INIT_OPERATION_LIST:String = "MEDIATOR_TO_INIT_OPERATION_LIST";		//初始化操作列表
		public static const MEDIATOR_TO_SHOW_OPERATION_LIST:String = "MEDIATOR_TO_SHOW_OPERATION_LIST";		//显示操作列表
		
		public static const MEDIATOR_SELECT_MAIN:String = "MEDIATOR_SELECT_MAIN";		//选择内容
	}
}